﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crgd.UAuthServer.Application.SpareTimes.Model
{
    public class EmailSenderOptions
    {
        /// <summary>
        /// 邮箱账户，即 abc@abc.com
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 送邮件的服务器地址或IP，如smtp.163.com、smtp.qq.com
        /// </summary>
        public string Host { get; set; } = "smtp.exmail.qq.com";
        /// <summary>
        /// Smtp端口号
        /// </summary>
        public int Port { get; set; } = 25;
        /// <summary>
        /// 发件人邮箱用户名
        /// </summary>
        public string Username { get; set; }
        /// <summary>
        /// 发件人邮箱密码
        /// </summary>
        public string Password { get; set; }
    }
}
